export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  searchMenuSpan: 6,
  labelWidth: 100,
  column: [
    {
      type: 'select',
      label: '所属父类名称',
      prop: 'parentName',
      formslot: true,
      span: 24,
      display: true,
      props: { label: 'label', value: 'value' }
    },
    {
      type: 'input',
      label: '分类名称',
      prop: 'name',
      span: 12,
      required: true,
      rules: [{ required: true, message: '分类名称必须填写' }]
    },
    {
      type: 'input',
      label: '分类编码',
      prop: 'code',
      span: 12,
      rules: [{ required: true, message: '分类编码必须填写' }],
      required: true
    },
    {
      type: 'input',
      label: '分类全名称',
      prop: 'fullname',
      span: 12,
      display: false
    },
    {
      type: 'input',
      label: '分类全编码',
      prop: 'fullcode',
      span: 12,
      display: false
    }
  ]
}
